<template>
  <avue-crud :data="data" :option="option"></avue-crud>
</template>
<script>
export default {
  data() {
    return {
      data: [
        {
          name: "张三",
          sex: "男"
        },
        {
          name: "李四",
          sex: "女"
        }
      ],
      option: {
        index: true,
        indexLabel: "序号",
        page: false,
        align: "center",
        menu: false,
        header: false,
        menuAlign: "center",
        column: [
          {
            label: "姓名",
            prop: "name"
          },
          {
            label: "性别",
            prop: "sex"
          }
        ]
      }
    };
  },
  methods: {}
};
</script>